.card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  text-align: left;
  color: #121212;
  width: 100%;
  max-width: 312px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: .25rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card a {
  text-decoration: none;
  color: inherit;
}

.card__image {
  object-fit: cover;
  width: 100%;
  height: 180px;
}

.card__image_alt {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  width: 100%;
  height: 180px;
}

.card__content {
  padding: 8px 12px 8px;
}

.card__title {
  margin: 5px 0;
  font-size: 1.25rem;
}

.card__details p {
  margin: 5px 0 0;
}

.card__details strong {
  color: #555;
}
